<?php
$T5mH345;
$_GET['mod'] = $_GET['mod'] ?? '';
$_GET['my'] = $_GET['my'] ?? '';
goto A33kQjjpYE;
AxkcFwMJeW:
goto hjafzx7IiA;
K1nMV06vDu:
if ($receivedResponse['code'] == 0x001) {
	goto OHXYQcpWb4;
}
goto Wj712h2gkc;
OHXYQcpWb4:
goto cooaY49QaH;
kdi3fcvEFg:
goto sr9amBNI9a;
J1m2TtWBY4:
akxtnryKES:
exit('<script type=\'text/javascript\'>layer.alert(\'请您输入正确的QQ！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=edit&id=' . $id . '\'});</script>');
BKH6Lrtx6l:
goto zwj5Fj9BZI;
e37im47cUI:
beD1SS8MXM:
goto M8TzsD_QNK;
goto RKbniJ9Q7L;
B1ytk9WNl0:
include_once '../meihe/common.php';
goto wxuFZFarIr;
JJeQy6rHUI:
USOxaDZruJ:
TYvfReekyD:
$_GET['url'] = $_GET['url'] ?? '';
if (!($url = $_GET['url'])) {
	goto ihEbqGLvfS;
}
goto Xr3REZ6Ncw;
ihEbqGLvfS:
goto OeUF4HmFey;
j1Scq3I4h1:
exit('<script language=\'javascript\'>window.location.href=\'./login.php\';</script>');
goto iQZGmUtNpy;
goto UsB7ebc0Sn;
QLMA3vo3zD:
exit('<script type=\'text/javascript\'>layer.alert(\'请您输入正确的域名！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=edit&id=' . $id . '\'});</script>');
goto XWksJ1_c1M;
Jaeel1liko:
if (!preg_match('/^(http|https|ftp):\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\’:+!]*([^<>\”])*$/', $domain)) {
	goto KQclN1Pe2M;
}
goto bm_00fhe6s;
KQclN1Pe2M:
goto nF9ZHOt0Z7;
bm_00fhe6s:
goto MyS4ctoIZ4;
pl95C_XB0u:
exit('<script type=\'text/javascript\'>layer.alert(\'该域名为黑名单无法添加！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
ut85yVMTJC:
$row = $DB->get_row("\x53\105\114\x45\103\124\x20\52\x20\106\x52\x4f\x4d\x20\155\x65\151\x68\145\137\154\x69\163\x74\40\127\110\x45\x52\105\40\144\157\x6d\x61\x69\156\75\x27{$domain}\x27\40\x6c\151\155\151\164\x20\61");
if (!$row) {
	goto PgqsNMBaFu;
}
goto A8Pe75p2Kj;
goto gn9o0p3_NT;
REsXD_83JP:
exit('<script type=\'text/javascript\'>layer.alert(\'添加会员完成！\',{icon:6,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
RO5SAGZ8Gc:
goto ePncPPhxmM;
O8VlurF1JI:
goto B1ytk9WNl0;
goto UbJI6RF44_;
AJtJRTFL7U:
goto iPe2PXNGXU;
V2mPhGbxdp:
VmtTK2gYQz:
goto VAlilDpUb_;
W4xTutZsGm:
goto zGr83KVTFb;
FUkiMeCJPs:
QKNOuGHuNY:
goto KLtStPDbly;
goto LNwhdHB3L1;
WCqUMoUO3o:
goto vk6kh1xx4h;
goto WY4X8tFTRU;
EHlKjhdsvk:
if (!strexists($domain, '.')) {
	goto LKxsRJ_IjP;
}
goto RZgecK61mQ;
LKxsRJ_IjP:
goto ZgCdgf7NA0;
RZgecK61mQ:
goto AxkcFwMJeW;
VOO9KPyXf_:
goto SPFYDFKuzI;
gn4XbzBoai:
exit('<script type=\'text/javascript\'>layer.alert(\'该域名为黑名单无法修改！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=edit&id=' . $id . '\'});</script>');
SPFYDFKuzI:
if (!($domain == NULL)) {
	goto wGo6fGrDNh;
}
goto Vmm869PmkG;
WY4X8tFTRU:
kO8jB4Kr52:
exit('<script type=\'text/javascript\'>layer.alert(\'修改会员完成！\',{icon:6,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
vk6kh1xx4h:
goto iSSeJ2f_Ce;
goto USOxaDZruJ;
goto W9YPB9SlhX;
CXFEP8K9uK:
$url = $url['host'];
xp3O4XZKJC:
echo '<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-header">
                添加会员域名
</div>
<div class="card-body">
<form action="./hylist.php?mod=add_n" method="post" class="form-horizontal layui-form" role="form">
<input type="hidden" name="do" value="submit"/>
                  <div class="form-group mb-3">
                        <label for="example-input-normal" style="font-weight: 500">是否泛域名：</label>
<select name="fhy" class="form-control">
<option value="1">关闭</option>
<option value="2">开启</option>
</select>
                    </div>
<div class="form-group mb-3">
<label for="example-input-normal" style="font-weight: 500">到期时间:</label>
<input type="date" class="form-control"  id="addsite_datetime" name="endtime" value="';
goto G32VfXezvY;
FsfcRs75CE:
goto AJtJRTFL7U;
gn9o0p3_NT:
PgqsNMBaFu:
goto oWD89Kb8Pv;
ShsN0F7EQf:
hz_huaxowf:
exit('<script type=\'text/javascript\'>layer.alert(\'删除会员完成！\',{icon:6,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
goto lnCLEawXiq;
wxuFZFarIr:
goto DQMec5H8XT;
cewQ0t8ykU:
goto HiysU3bWCA;
qEMXZzVewr:
goto iAJc9M09dH;
goto V26d1acjwo;
zoBGuKIQRD:
goto BKH6Lrtx6l;
goto J1m2TtWBY4;
sr9amBNI9a:
if ($sql) {
	goto MtbwUd3j8n;
}
goto oZxMp0FwYp;
goto BEetVFJOvF;
MyS4ctoIZ4:
exit('<script type=\'text/javascript\'>layer.alert(\'无需添加http:// 或https://\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
goto ln2ImlRqjO;
qeR4v_4Iw3:
$id = intval($_GET['id']);
$row = $DB->get_row("\x73\145\154\145\143\x74\40\x2a\x20\146\162\x6f\x6d\40\155\145\x69\150\145\x5f\x6c\x69\x73\x74\x20\167\x68\145\162\x65\x20\x69\144\x3d\x27{$id}\47\x20\154\151\155\x69\x74\40\x31");
goto ohMCo5d2ED;
cgng6xMrdP:
XpNSbBLZg1:
goto D5pnOP0m55;
k9wI3EpIKm:
goto TYvfReekyD;
iSSeJ2f_Ce:
goto zoBGuKIQRD;
ReoiSQqMVF:
goto bwRkD2Q1Ir;
qEokSUAXD9:
$row = $DB->get_row("\x53\105\x4c\105\x43\x54\x20\x2a\x20\106\x52\117\115\40\155\x65\151\150\x65\x5f\x6c\151\x73\x74\x20\x57\110\x45\x52\x45\40\x64\157\155\x61\x69\156\x3d\47{$domain}\47\x20\x6c\151\155\151\x74\x20\61");
if (!$row) {
	goto ys8JyXpGQQ;
}
goto tRuJUabQZP;
goto Swi4FFKicK;
KgAZ3mYPK1:
goto rN63bPyyg6;
dR0CAVvWbJ:
goto yXLCiMIhqM;
UsB7ebc0Sn:
ApzM7_ALWe:
goto CCCAEU_vhv;
A33kQjjpYE:
goto O8VlurF1JI;
LNwhdHB3L1:
B71bP2nTS1:
if ($_GET['mod'] == 'edit_n' && $_POST['do'] == 'submit') {
	goto jUaOn4GpG5;
}
goto WCy5gom8zJ;
goto jPgtnG10mi;
Z2ReFDuXyQ:
QZ8Jhq9jkz:
goto BSWDHmcwox;
t903XbsH1h:
$sql = 'insert into `meihe_list` (`domain`,`date`,`type`,`endtime`,`qq`,`fhy`) values (\'' . $domain . '\',\'' . $date . '\',\'1\',\'' . $endtime . '\',\'' . $qq . '\',\'' . $fhy . '\')';
if ($DB->query($sql)) {
	goto t4mmMF2EIb;
}
goto lsMoGha1ZH;
kR6PCVaTNb:
goto j56f7G_hlU;
BSWDHmcwox:
goto rW_c5kUxbp;
TN7c1eGhCL:
echo $row['id'];
goto eWsUTJoVcw;
cPwyxhq0hO:
yahi9wQhLw:
echo $row['qq'];
echo '"class="form-control" placeholder="输入添加会员QQ" autocomplete="off" lay-verType="tips" lay-verify="required"/>
                    </div>      
<button type="submit" class="btn btn-block btn-xs btn-outline-success" lay-submit lay-filter="submit_addpro">确定修改</button>
</form>
<br>
<a href="./hylist.php">>>返回会员列表</a>
</div>
</div>
</div>
';
goto VFkw7N33nL;
ifue6BxuKD:
goto DLNhdPZnwu;
oERM_bpFKl:
UmiZ5EoO4c:
goto fT_XIn4CnG;
YHsn1HaGdn:
if ($_GET['mod'] == 'mdadd_n' && $_POST['do'] == 'submit') {
	goto QKNOuGHuNY;
}
goto B71bP2nTS1;
goto FUkiMeCJPs;
Swi4FFKicK:
ys8JyXpGQQ:
goto b9Cf5OCsTI;
tRuJUabQZP:
exit('<script type=\'text/javascript\'>layer.alert(\'该域名已存在,请勿重复添加\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
goto fdzMuXtLy_;
goto cgng6xMrdP;
lbvswGFkr0:
MF76cQGz02:
goto naWXpFTPHq;
naWXpFTPHq:
if ($DB->query("\x75\x70\x64\141\x74\x65\40\x6d\x65\151\x68\x65\x5f\x6c\151\x73\x74\40\163\x65\x74\x20\x64\x6f\155\x61\x69\156\75\47{$domain}\x27\40\x2c\161\161\x3d\x27{$qq}\x27\40\x2c\x66\x68\171\75\47{$fhy}\47\x20\167\150\x65\x72\x65\40\x69\x64\x3d\47{$id}\47")) {
	goto bcJ_0NgAic;
}
goto gC9IhpnVw2;
goto aLWDdno23a;
ZcLt1H29ei:
kHgC41IJDm:
exit('<script type=\'text/javascript\'>layer.alert(\'请确保每项都不为空\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
goto GQJrpB70Dh;
fyyKCtxNKS:
exit('<script type=\'text/javascript\'>layer.alert(\'请您输入正确的域名！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
goto dieZBizl8D;
j4YE2vHOoV:
IJSgNPCuZd:
goto Z0EI0tUedr;
zgAJxjs48D:
if ($_GET['mod'] == 'add_n' && $_POST['do'] == 'submit') {
	goto UmiZ5EoO4c;
}
goto YHsn1HaGdn;
goto oERM_bpFKl;
sIz6GMEEds:
include_once './bottom.php';
goto MRAS2Belg8;
goto qrMVWoMyYC;
iaju7Rx_Q_:
S3CNIWZEAh:
goto G5EYmst153;
HON96R9Q6R:
fYGcWQmBAS:
goto eFaw1JFn7X;
yXLCiMIhqM:
exit('<script type=\'text/javascript\'>layer.alert(\'无需添加http:// 或https://\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=edit&id=' . $id . '\'});</script>');
rN63bPyyg6:
goto t0UHKrOgT5;
t0UHKrOgT5:
goto ArAOCEW6br;
aA3hziAJUf:
// $_SESSION['AUTHGUAO'] = $authcode;
goto AYs3N8epAl;
gayY1Qr_x_:
goto e37im47cUI;
HU98Cgge4I:
goto zDsGnRNvgK;
MRAS2Belg8:
goto D5pnOP0m55;
DcjlNKbpP6:
goto qeR4v_4Iw3;
goto Z2ReFDuXyQ;
wwu6fTEUk6:
v4DjkYfXSB:
Y7m1E245iW:
if (!($domain == NULL)) {
	goto ocdx1In30n;
}
goto bGJWycROwm;
ocdx1In30n:
goto cYb65lWfVP;
XWksJ1_c1M:
jyQbNB2T4U:
if (strlen($qq) > 0x000c || !is_numeric($qq) || strlen($qq) < 0x05 || !preg_match('/^[0-9]+$/', $qq)) {
	goto KgkOTaq_CA;
}
goto MF76cQGz02;
KgkOTaq_CA:
goto akxtnryKES;
goto lbvswGFkr0;
BEetVFJOvF:
MtbwUd3j8n:
goto hz_huaxowf;
oZxMp0FwYp:
exit('<script type=\'text/javascript\'>layer.alert(\'删除会员失败！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
goto yJQ_DNNEdF;
goto PgWWA_xFWf;
DLNhdPZnwu:
exit('<script type=\'text/javascript\'>layer.alert(\'修改会员失败！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
goto WCqUMoUO3o;
oWD89Kb8Pv:
goto Y7m1E245iW;
A8Pe75p2Kj:
goto suXzA9wPep;
fHJyPv39qq:
exit('<script type=\'text/javascript\'>layer.alert(\'拉黑域名成功！\',{icon:6,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
goto gayY1Qr_x_;
EOibU0S0uQ:
VFkw7N33nL:
include_once './bottom.php';
goto pCTBRLTSzc;
lUSRc1ebU9:
KUtqocDAlW:
goto VmtTK2gYQz;
hotuvL5tI5:
goto beD1SS8MXM;
TxvRFNel21:
goto fHJyPv39qq;
kjiy4S1LeJ:
goto DcjlNKbpP6;
XodJSnWkh_:
goto zgAJxjs48D;
yTSLJKelmg:
$type = $_POST['type'] ?? '';
goto HU98Cgge4I;
jPgtnG10mi:
jUaOn4GpG5:
goto S3CNIWZEAh;
WCy5gom8zJ:
goto gMQFWVMnLe;
goto EOibU0S0uQ;
goto w6cZmCPn4r;
CCCAEU_vhv:
goto ZQoS1Q5H8D;
mKXkKZztfS:
$rows = $DB->get_row("\123\x45\114\105\103\124\x20\x2a\x20\x46\x52\x4f\115\x20\x6d\145\x69\150\145\x5f\150\142\x6d\x64\40\x57\110\x45\122\105\x20\144\157\155\141\151\156\75\x27{$domain}\x27\x27\40\154\151\155\x69\x74\x20\x31");
if (!($rows['type'] == 0x0002)) {
	goto gJ2TdxwCXt;
}
goto gn4XbzBoai;
goto PdK37qzp6v;
tqS4eIBOto:
// $remoteUrl = '../api/check.json?url=' . $_SERVER['HTTP_HOST'] . '&authcode=' . $authcode;
goto dAuU_0oHXu;
h16sC05NO2:
ukvs1Fd12g:
nF9ZHOt0Z7:
goto EHlKjhdsvk;
I3CsAQaXzG:
iAJc9M09dH:
goto XxBXWN_VPR;
FlMLk2NjQ6:
RKbniJ9Q7L:
ZgCdgf7NA0:
goto rIqNXSJ68O;
h9VEA41Z2b:
Si3dv1WrhC:
if (strexists($domain, '.')) {
	goto NLi0jy7MMw;
}
goto URUABfgQpE;
NLi0jy7MMw:
goto am_CBHnVL_;
goto mZWS9Gh32V;
Vmm869PmkG:
goto qEMXZzVewr;
wGo6fGrDNh:
goto cewQ0t8ykU;
GQJrpB70Dh:
CgopFOlteS:
goto Jaeel1liko;
Wfg_5Q950q:
CAJvqZGOZq:
goto mKXkKZztfS;
ZQoS1Q5H8D:
iQZGmUtNpy:
$title = '会员管理配置';
goto tqS4eIBOto;
rIqNXSJ68O:
exit('<script type=\'text/javascript\'>layer.alert(\'请您输入正确的域名！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
M8TzsD_QNK:
goto D5pnOP0m55;
goto iaju7Rx_Q_;
c36B2l201d:
goto VOO9KPyXf_;
aHiuhSmtBM:
ArAOCEW6br:
if (strexists($domain, '.')) {
	goto fksmM5NAP0;
}
goto ZsOPiG7rlY;
fksmM5NAP0:
goto jyQbNB2T4U;
goto a2qg8o011u;
PgWWA_xFWf:
goto s8TN9tRFjS;
bwRkD2Q1Ir:
echo '" required>
</div>
<div class="form-group mb-3">
<label for="example-input-normal" style="font-weight: 500">添加域名：</label>
 <input type="text" name="domain" class="form-control" placeholder="输入添加会员域名" autocomplete="off" lay-verType="tips" lay-verify="required"/><small>如需泛域名,请直接填写一级域名即可！</small>
                    </div>
<div class="form-group mb-3">
<label for="example-input-normal" style="font-weight: 500">添加QQ：</label>
 <input type="text" name="qq" class="form-control" placeholder="输入添加会员QQ" autocomplete="off" lay-verType="tips" lay-verify="required"/><small>可自助更换域名验证</small>
                    </div>                    
 <button type="submit" class="btn btn-block btn-xs btn-outline-success" lay-submit lay-filter="submit_addpro">确定添加</button>
</form>
<br>
<a href="./hylist.php">>>返回会员列表</a>
</div>
</div>
</div>
<script src="//cdn.staticfile.org/layer/2.3/layer.js"></script>
<script src="';
echo $cdnpublic;
echo 'clipboard.js/1.7.1/clipboard.min.js"></script>
';
goto sIz6GMEEds;
lsMoGha1ZH:
goto VzF2UGTqS8;
t4mmMF2EIb:
goto owPVQuyuQP;
goto mYqpLY9aKr;
VAlilDpUb_:
goto Rc0Nxt51g9;
JlPaOxUEU1:
$domain = $_POST['domain'];
$fhy = $_POST['fhy'];
$qq = $_POST['qq'];
goto CAJvqZGOZq;
s8TN9tRFjS:
goto raoAECbaY7;
cooaY49QaH:
goto CFx9ObRyq_;
Wj712h2gkc:
sysmsg('<h3>检测到当前' . $_SERVER['HTTP_HOST'] . '域名未授权，购买正版联系QQ：2136118039</h3>', !0);
exit(0);
goto gT2WHKFkfZ;
goto JJeQy6rHUI;
W9YPB9SlhX:
mYqpLY9aKr:
VzF2UGTqS8:
exit('<script type=\'text/javascript\'>layer.alert(\'添加会员失败！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
goto RO5SAGZ8Gc;
goto b3TnrJBnJe;
goto I3CsAQaXzG;
w6cZmCPn4r:
bJa2lq4JTT:
$fhy = $_POST['fhy'];
$qq = $_POST['qq'];
$endtime = $_POST['endtime'];
$rows = $DB->get_row("\123\105\x4c\105\x43\124\x20\x2a\40\106\122\x4f\x4d\40\x6d\145\x69\x68\x65\137\x68\142\x6d\144\40\x57\x48\x45\122\x45\x20\x64\x6f\155\141\151\156\x3d\47{$domain}\x27\x20\154\x69\x6d\151\164\x20\x31");
goto szNcBZR6Uf;
SbfPcPEL6z:
CFx9ObRyq_:
goto aA3hziAJUf;
ynRBafWqA8:
if ($_GET['mod'] == 'add') {
	goto IJSgNPCuZd;
}
goto X4PwsULj9U;
goto j4YE2vHOoV;
akWtZebOVT:
s2AxFiCe9Z:
$fhy = $_POST['fhy'];
goto qEokSUAXD9;
oWxo5vVnJn:
exit('<script type=\'text/javascript\'>layer.alert(\'请确保每项都不为空\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
goto ShkH3wsCMn;
z49fVnqvzb:
zrAkZErrHz:
echo '<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-header">
                会员列表
                </div>
            <div class="card-body">
                <div class="layui-elem-quote" id="blocktitle"></div>
                <form onsubmit="return searchOrder()" method="GET" class="form-horizontal layui-form" role="form">
                    <div class="form-group mb-3" id="searchword">
                        <input type="text" class="form-control" name="search" placeholder="搜索域名或QQ" required>
                    </div>
                    <div class="form-group mb-3">
                        <button class="btn btn-outline-primary" onclick="reg()" type="submit"><i class="layui-icon layui-icon-search"></i> 搜索</button>&nbsp;
                        <a href="./hylist.php?mod=add" class="btn btn-outline-secondary"><i class="layui-icon layui-icon-add-circle"></i> 添加会员</a>&nbsp;
                        <a href="./set.php?mod=site" class="btn btn-outline-secondary"><i class="layui-icon layui-icon-add-circle"></i> 拉黑域名</a>        </div>
                </form>
            <div id="listTable"></div>
        </div>
    </div>
</div>
';
include_once './bottom.php';
goto XpNSbBLZg1;
isPkm0MUk4:
goto PK3tSmVez4;
cYb65lWfVP:
goto GL5HWMZkpn;
bGJWycROwm:
goto oWxo5vVnJn;
ddq4bQvIaK:
Mqs307QEfU:
goto pl95C_XB0u;
OeUF4HmFey:
goto xp3O4XZKJC;
Xr3REZ6Ncw:
$url = parse_url($url);
goto wX4IR79Do0;
qrMVWoMyYC:
goto wwu6fTEUk6;
lnCLEawXiq:
uGgUWJ95Bi:
D5pnOP0m55:
goto hWZDRxhCIc;
goto h16sC05NO2;
dAuU_0oHXu:
goto PjCf0yxmGc;
zGr83KVTFb:
goto hotuvL5tI5;
gdKoKVoJtT:
p1mHUMBOe7:
$id = intval($_GET['id']);
$sql = $DB->query("\104\105\114\105\x54\x45\x20\x46\x52\x4f\x4d\x20\155\x65\x69\150\x65\x5f\x6c\x69\163\x74\40\127\110\105\122\x45\x20\151\144\x3d\x27{$id}\x27");
goto kdi3fcvEFg;
PK3tSmVez4:
echo '" method="post" class="form-horizontal layui-form" role="form">
<input type="hidden" name="do" value="submit"/>
 <div class="form-group mb-3">
                        <label for="example-input-normal" style="font-weight: 500">是否泛域名：</label>
                        <select name="fhy" class="form-control"><option ';
echo $row['fhy'] == 0x001 ? 'selected ' : '';
echo 'value="1">关闭</option><option ';
echo $row['fhy'] == 0x0002 ? 'selected ' : '';
goto JJ8bpNyrQe;
goto Cgc_CkoVRF;
ShkH3wsCMn:
GL5HWMZkpn:
if (!preg_match('/^(http|https|ftp):\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\’:+!]*([^<>\”])*$/', $domain)) {
	goto vGDKsSlY2X;
}
goto fYGcWQmBAS;
vGDKsSlY2X:
goto Si3dv1WrhC;
goto HON96R9Q6R;
HidN4h9EP_:
$sql = 'insert into `meihe_list` (`domain`,`date`,`type`,`endtime`,`qq`,`fhy`) values (\'' . $domain . '\',\'' . $date . '\',\'2\',\'' . $endtime . '\',\'' . $qq . '\',\'' . $fhy . '\')';
if ($DB->query($sql)) {
	goto l2A3f57Jp5;
}
goto gP_gBZsf2q;
l2A3f57Jp5:
goto TxvRFNel21;
goto brSa7eld5f;
dYvmCqVZmt:
goto Zf9rG3usVF;
eFaw1JFn7X:
goto FsfcRs75CE;
b3TnrJBnJe:
owPVQuyuQP:
goto REsXD_83JP;
szNcBZR6Uf:
$rows['type'] = isset($rows['type']) ? $rows['type'] : 0;
if (!($rows['type'] == 2)) {
	goto xzVmWtpkAg;
}
goto OIJyyQGhoM;
xzVmWtpkAg:
goto z_KI0qVrhX;
DQMec5H8XT:
goto ztDn29gQER;
PdK37qzp6v:
gJ2TdxwCXt:
goto c36B2l201d;
fdzMuXtLy_:
b9Cf5OCsTI:
goto Pts9Y7VI6i;
goto BJrITsuA94;
UbJI6RF44_:
JJ8bpNyrQe:
echo 'value="2">开启</option></select>
                                       </div>
                    <div class="form-group mb-3">
                        <label for="example-input-normal" style="font-weight: 500">修改域名：</label>
                        <input type="text" name="domain" value="';
echo $row['domain'];
echo '" class="form-control" placeholder="输入修改会员域名" autocomplete="off" lay-verType="tips" lay-verify="required"/>
                    </div>
                    <div class="form-group mb-3">
<label for="example-input-normal" style="font-weight: 500">添加QQ：</label>
 <input type="text" name="qq" value="';
goto yahi9wQhLw;
goto cPwyxhq0hO;
ohMCo5d2ED:
echo '<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-header">
                编辑会员域名
</div>
<div class="card-body">
<form action="./hylist.php?mod=edit_n&id=';
goto TN7c1eGhCL;
zDsGnRNvgK:
goto bJa2lq4JTT;
XxBXWN_VPR:
goto fhHBS0CM78;
mZWS9Gh32V:
URUABfgQpE:
goto fyyKCtxNKS;
AYs3N8epAl:
P_CnmlFwfN:
include_once './head.php';
goto qseUNSxrtV;
ay7RO8NkNO:
goto s2AxFiCe9Z;
gMQFWVMnLe:
goto OzvbaiwBR8;
iPe2PXNGXU:
exit('<script type=\'text/javascript\'>layer.alert(\'无需添加http:// 或https://\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
goto h9VEA41Z2b;
CNfKXY33Q_:
goto k9wI3EpIKm;
X4PwsULj9U:
if ($_GET['mod'] == 'edit') {
	goto uKaS8zuBB8;
}
goto XodJSnWkh_;
uKaS8zuBB8:
goto kjiy4S1LeJ;
a2qg8o011u:
ZsOPiG7rlY:
goto QLMA3vo3zD;
Zf9rG3usVF:
$id = $_GET['id'];
$rows = $DB->get_row("\163\145\x6c\145\x63\164\x20\52\40\x66\x72\157\x6d\40\155\x65\151\150\x65\137\x6c\x69\x73\x74\x20\x77\x68\145\162\x65\40\x69\x64\x3d\47{$id}\47\x20\154\x69\155\x69\x74\x20\x31");
goto JlPaOxUEU1;
dieZBizl8D:
am_CBHnVL_:
goto PwuAKKfqxs;
yJQ_DNNEdF:
goto uGgUWJ95Bi;
goto ShsN0F7EQf;
goto Wfg_5Q950q;
suXzA9wPep:
exit('<script type=\'text/javascript\'>layer.alert(\'该域名已存在,请勿重复添加\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
goto v4DjkYfXSB;
JO5WrPl8If:
goto K1nMV06vDu;
wX4IR79Do0:
goto CXFEP8K9uK;
TQs9uRuVD6:
OzvbaiwBR8:
if ($_GET['my'] == 'del') {
	goto rBatejf4dq;
}
goto zrAkZErrHz;
rBatejf4dq:
goto p1mHUMBOe7;
goto z49fVnqvzb;
pCTBRLTSzc:
goto D5pnOP0m55;
fT_XIn4CnG:
$domain = $_POST['domain'];
goto yTSLJKelmg;
Z0EI0tUedr:
goto CNfKXY33Q_;
BJrITsuA94:
hWZDRxhCIc:
echo '<body style="background-image: url(../assets/img/gnbj.jpg);"></div>
<script type="text/javascript">
function listTable(query){
	var url = window.document.location.href.toString();
	var queryString = url.split("?")[1];
	query = query || queryString;
	if(query == \'start\' || query == undefined){
		query = \'\';
		history.replaceState({}, null, \'./hylist.php\');
	}else if(query != undefined){
		history.replaceState({}, null, \'./hylist.php?\'+query);
	}
	layer.closeAll();
	var ii = layer.msg(\'加载数据中...\', {icon: 16, time: 10 * 1000});
	$.ajax({
		type : \'GET\',
		url : \'hylist-table.php?\'+query,
		dataType : \'html\',
		cache : false,
		success : function(data) {
			layer.close(ii);
			$("#listTable").html(data)
		},
		error:function(data){
			layer.msg(\'服务器错误\');
			return false;
		}
	});
}
$(document).ready(function(){
    var items = $("select[default]");
    for (i = 0; i < items.length; i++) {
        $(items[i]).val($(items[i]).attr("default")||0);
    }
    listTable();
})
</script>
<script src="//cdn.staticfile.org/layer/2.3/layer.js"></script>
<script src="';
echo $cdnpublic;
goto KUtqocDAlW;
ePncPPhxmM:
goto kR6PCVaTNb;
zwj5Fj9BZI:
goto D5pnOP0m55;
goto gdKoKVoJtT;
goto ddq4bQvIaK;
gT2WHKFkfZ:
goto P_CnmlFwfN;
goto SbfPcPEL6z;
raoAECbaY7:
Pts9Y7VI6i:
if (!($domain == NULL)) {
	goto r3fNhXgHwP;
}
goto kHgC41IJDm;
r3fNhXgHwP:
goto CgopFOlteS;
goto ZcLt1H29ei;
fhHBS0CM78:
exit('<script type=\'text/javascript\'>layer.alert(\'请确保每项都不为空\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=edit&id=' . $id . '\'});</script>');
HiysU3bWCA:
if (!preg_match('/^(http|https|ftp):\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\’:+!]*([^<>\”])*$/', $domain)) {
	goto MSgiSGGK7A;
}
goto dR0CAVvWbJ;
MSgiSGGK7A:
goto KgAZ3mYPK1;
Cgc_CkoVRF:
goto FlMLk2NjQ6;
UmHkFzmXWy:
goto D5pnOP0m55;
KLtStPDbly:
$domain = $_POST['domain'];
goto ay7RO8NkNO;
V26d1acjwo:
PwuAKKfqxs:
if (strlen($qq) > 0x000c || !is_numeric($qq) || strlen($qq) < 0x05 || !preg_match('/^[0-9]+$/', $qq)) {
	goto GAUFANJyZP;
}
goto t903XbsH1h;
GAUFANJyZP:
goto QZ8Jhq9jkz;
goto TQs9uRuVD6;
ztDn29gQER:
if ($islogin == 0x001) {
	goto rdUlXZfLZH;
}
goto o0S834gm7S;
rdUlXZfLZH:
goto ApzM7_ALWe;
o0S834gm7S:
goto j1Scq3I4h1;
PjCf0yxmGc:
$response = json_encode(['code' => 1, 'authcode' => md5('qq2136118039')]);
$receivedResponse = json_decode($response, !0);
goto JO5WrPl8If;
G32VfXezvY:
echo $endtime;
goto ReoiSQqMVF;
qseUNSxrtV:
$endtime = date('Y-m-d', strtotime('+1 months'));
echo '
';
goto ynRBafWqA8;
goto V2mPhGbxdp;
hjafzx7IiA:
goto HidN4h9EP_;
eWsUTJoVcw:
goto isPkm0MUk4;
z_KI0qVrhX:
goto ut85yVMTJC;
OIJyyQGhoM:
goto Mqs307QEfU;
goto akWtZebOVT;
aLWDdno23a:
bcJ_0NgAic:
goto kO8jB4Kr52;
gC9IhpnVw2:
goto ifue6BxuKD;
yt8cLjYaHE:
goto dYvmCqVZmt;
brSa7eld5f:
gP_gBZsf2q:
exit('<script type=\'text/javascript\'>layer.alert(\'拉黑域名失败！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php\'});</script>');
goto W4xTutZsGm;
ln2ImlRqjO:
goto ukvs1Fd12g;
goto aHiuhSmtBM;
G5EYmst153:
goto yt8cLjYaHE;
rW_c5kUxbp:
exit('<script type=\'text/javascript\'>layer.alert(\'请您输入正确的QQ！\',{icon:5,closeBtn:0},function(){window.location.href=\'./hylist.php?mod=add\'});</script>');
j56f7G_hlU:
goto UmHkFzmXWy;
goto lUSRc1ebU9;
Rc0Nxt51g9:
echo 'clipboard.js/1.7.1/clipboard.min.js"></script>
<script>
layer.closeAll();
function setActive2(id,active) {
	$.ajax({
		type : \'GET\',
		url : \'ajax.php?act=fjvip\',
		data:{id:id,active:active},
		dataType : \'json\',
		success : function(data) {
			if(data.code == 0){
					layer.msg(\'切换状态成功！\', {
                    icon: 1,
                    end: function (layero, index) {
                        window.location.href="./hylist.php";
                    }
                });
			}
		},
		error:function(data){
			layer.msg(\'服务器错误\');
			return false;
		}
	});
}
function setActive3(id,fhy) {
	$.ajax({
		type : \'GET\',
		url : \'ajax.php?act=fhy\',
		data:{id:id,fhy:fhy},
		dataType : \'json\',
		success : function(data) {
			if(data.code == 0){
					layer.msg(\'切换成功！\', {
                    icon: 1,
                    end: function (layero, index) {
                        window.location.href="./hylist.php";
                    }
                });
			}
		},
		error:function(data){
			layer.msg(\'服务器错误\');
			return false;
		}
	});
}
function viphyxf(id) {
	layer.prompt({title: \'需要延时多少个月\', value: \'1\', closeBtn:0, formType: 0}, function(text, index){
		$.ajax({
			type : \'POST\',
			url : \'ajax.php?act=viphyxf\',
			data : {id:id,month:text},
			dataType : \'json\',
			success : function(data) {
			  if(data.code == 0){
					layer.msg(\'恭喜你！续费成功\', {
                    icon: 1,
                    end: function (layero, index) {
                        window.location.href="./hylist.php";
                    }
                });
				}else{
					layer.alert(\'续费失败！\');
				}
			},
			error:function(data){
				layer.msg(\'服务器错误\');
				return false;
			}
		});
	});
}
$(document).ready(function(){
	viphygn();
})
</script>';
